package com.dd.census.tools.excel.test;

import java.util.Date;

import com.dd.census.tools.excel.ExcelField;

public class DemoEntity {

	@ExcelField(index = 0, name = "名称")
	private String name;

	@ExcelField(index = 1, name = "描述")
	private String desc;

	@ExcelField(index = 2, name = "年龄")
	private Integer sum;

	@ExcelField(index = 3, name = "金额")
	private Double money;

	@ExcelField(index = 4, name = "日期")
	private Date birthday;

	public DemoEntity() {

	}

	public DemoEntity(String name, String desc, Integer sum, Double money, Date birthday) {
		this.name = name;
		this.desc = desc;
		this.sum = sum;
		this.money = money;
		this.birthday = birthday;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Integer getSum() {
		return sum;
	}

	public void setSum(Integer sum) {
		this.sum = sum;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

}
